﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="edit_priority.aspx.cs" Inherits="btnet.pages.edit_priority" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title id="titl" runat="server">btnet edit priority</title>
<link rel="StyleSheet" href="btnet.css" type="text/css">

<script>

function change_sample_color()
{

	var sample = document.getElementById("sample");
	var color = document.getElementById("color");

	try
	{
		sample.style.background = color.value;
	}
	catch(e)
	{
	}


}
</script>

</head>
<body onload="change_sample_color()">
<% security.write_menu(Response, "admin"); %>


<div class=align><table border=0><tr><td>
<a href=priorities.aspx>back to priorities</a>
<form id="Form1" class=frm runat="server">
	<table border=0>

	<tr>
	<td class=lbl>Description:</td>
	<td><input runat="server" type=text class=txt id="name" maxlength=20 size=20></td>
	<td runat="server" class=err id="name_err">&nbsp;</td>
	</tr>

	<tr>
	<td colspan=3>
	<span class=smallnote>Sort Sequence controls the sort order in the dropdowns.</span>
	</td>
	</tr>

	<tr>
	<td class=lbl>Sort Sequence:</td>
	<td><input runat="server" type=text class=txt id="sort_seq" maxlength=2 size=2></td>
	<td runat="server" class=err id="sort_seq_err">&nbsp;</td>
	</tr>

	<tr>
	<td colspan=3>
	<span class=smallnote>Background Color and CSS Class can be used to control the look of lists.<br>See the example queries.</span>
	</td>
	</tr>

	<tr>
	<td class=lbl>Background Color:</td>
	<td><input onkeyup="change_sample_color()" runat="server" type=text class=txt id="color" value="#ffffff" maxlength=7 size=7>
	&nbsp;&nbsp;&nbsp;&nbsp;<span style="padding: 3px;" id="sample">&nbsp;&nbsp;Sample&nbsp;&nbsp;</span></td>
	<td runat="server" class=err id="color_err">&nbsp;</td>
	</tr>

	<tr>
	<td class=lbl>CSS Class:</td>
	<td><input runat="server" type=text class=txt id="style" value="" maxlength=10 size=10>
	&nbsp;&nbsp;<a target=_blank href=edit_styles.aspx>more CSS info...</a>
	</td>
	<td runat="server" class=err id="style_err">&nbsp;</td>
	</tr>

	<tr>
	<td class=lbl>Default Selection:</td>
	<td><asp:checkbox runat="server" class=cb id="default_selection"/></td>
	<td>&nbsp</td>
	</tr>

	<tr><td colspan=3 align=left>
	<span runat="server" class=err id="msg">&nbsp;</span>
	</td></tr>

	<tr>
	<td colspan=2 align=center>
	<input runat="server" class=btn type=submit id="sub" value="Create or Edit">
	<td>&nbsp</td>
	</td>
	</tr>
	</td></tr></table>
</form>
</td></tr></table></div>
<% Response.Write(Application["custom_footer"]); %>
</body>
</html>
